package day10;



import java.util.Date;


        public class DateMethodDemo {
            public static void main(String[]args){
         Date d=new Date();

                System.out.println(d);
                d.setDate(26);
                d.setMonth(4);
                d.setYear(2013-1900);
                int week=d.getDay();
                System.out.println("week:"+week);
                int year=d.getYear()+1900;
                System.out.println("year:"+year);
                System.out.println(d);
            }


}
